package com.iwhalecloud.citybrain.flow.platform.manager.application.service;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.exception.EventCallSuspendException;
import org.flowable.engine.delegate.event.impl.FlowableActivityEventImpl;
import org.flowable.engine.impl.persistence.entity.ExecutionEntity;

/**
 * 流程开始的处理程序
 *
 * @author songxf
 * @date 2021/08/03
 */
public interface ActivityStartedPostProcessor {
    /**
     * 处理任务
     *
     * @param activityEvent 流程实例
     */
    void process(FlowableActivityEventImpl activityEvent) throws EventCallSuspendException;
}
